package com.huike.contract.service;

import com.huike.common.core.domain.AjaxResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface ISysFileService {
    /**
     * 文件上传
     *
     * @param file
     * @return
     */
    AjaxResult upload(MultipartFile file);

    /**
     *  文件的下载
     * @param fileName
     * @param response
     * @return
     */
    AjaxResult downloadByMinio(String fileName, HttpServletResponse response);
}
